package Domd2;

public class Test {
    static String name="c";
    private int age;
    public Test(String name, int age) {
        this.name = "a";
        this.age = 18;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
class School{
    public String names;

    public static void main(String[] args) {
        System.out.println(Test.name);
        Test test=new Test("a",19);
        System.out.println(test.name);
        System.out.println(test.getAge());
    }
}